﻿using System.ComponentModel.DataAnnotations;

namespace Easy.Services.Dtos
{
    public class LoginDTO
    {

        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "必填:用户名")]
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "必填:密码")]
        public string Password { get; set; }

    }
}